package com.example.demo.dto;

import com.example.demo.enums.OrderStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 更新订单状态请求DTO
 */
@Data
@ApiModel(description = "更新订单状态请求")
public class UpdateOrderStatusRequest {
    
    @ApiModelProperty(value = "新的订单状态", example = "2", required = true, notes = "1-待支付, 2-已支付, 3-备货中, 4-已发货, 5-已送达, 6-已完成, 7-已取消, 8-退款中, 9-已退款")
    private OrderStatusEnum status;
    
    @ApiModelProperty(value = "状态变更原因")
    private String reason;
}
